package com.ruoyi.car.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 车辆品牌（买车页筛选）对象 t_car_brand
 * 
 * @author yby
 * @date 2025-09-01
 */
public class CarBrand extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 品牌ID */
    private Long id;

    /** 品牌名称（如“宝马”“奔驰”） */
    @Excel(name = "品牌名称", readConverterExp = "如=“宝马”“奔驰”")
    private String brandName;

    /** 品牌Logo URL */
    @Excel(name = "品牌Logo URL")
    private String brandLogo;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setBrandName(String brandName) 
    {
        this.brandName = brandName;
    }

    public String getBrandName() 
    {
        return brandName;
    }

    public void setBrandLogo(String brandLogo) 
    {
        this.brandLogo = brandLogo;
    }

    public String getBrandLogo() 
    {
        return brandLogo;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("brandName", getBrandName())
            .append("brandLogo", getBrandLogo())
            .toString();
    }
}
